﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Model;
using DAL;
using System.Data;

namespace BLL
{
    public class StagingdbTableBLL: BaseBLL
    {
        public StagingdbTableBLL(LoginInfo info)
        {
            loginInfo = info;
        }

        public IList<Staging_dbTable> GetStging_dbInfo(IDataParameter[] queryParas)
        {
            return new StagingdbTableDAL(loginInfo).GetStging_dbInfo(queryParas);
        }
        public IList<Staging_dbTable> GetList(IDataParameter[] queryParas)
        {
            return new StagingdbTableDAL(loginInfo).GetList(queryParas);
        }

        public int GetPageIndex(string guid, int pageSize)
        {
            return new StagingdbTableDAL(loginInfo).GetPageIndex(guid, pageSize);
        }
          
        public int GetListCount()
        {
            return new StagingdbTableDAL(loginInfo).GetListCount();
        }

        public StagingdbTable Load(string id)
        {
            return new StagingdbTableDAL(loginInfo).Load(id);
        }

        public IList<StagingdbTable> GetODSStgTabs(string guid)
        {
            return new StagingdbTableDAL(loginInfo).GetODSStgTabs(guid);
        }
    }
}
